 /* Copyright (C)
  * 2024 ZKLX Optoelectronic Technology Co.LTD
  * All rights reserved.
  */
 /**
  * @file main.cpp
  * @brief 
  * @author xuke
  * @version 1.0
  * @date 2025-01-02
  */

#include <iostream>
#include <unistd.h>
#include "web_viewer.h"

/*--------------------------------extern--------------------------------------------*/

/*--------------------------------globals-------------------------------------------*/

/*--------------------------------locals--------------------------------------------*/

/*--------------------------------funcs---------------------------------------------*/

/**
 * @brief 
 * @param argc
 * @param argv[]
 * @return 0
 */
int main(int argc, const char *argv[])
{
	if (web_viewer_init("/usr/local/apps/cam_www", 10088, 25, 1.0)) {
		printf("web_viewer init failed!\n");
	}

	while (1) { sleep(64); }
	return 0;
}

